﻿<UserControl x:Class="TouchExplorer.Views.FileBrowser"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:touch="clr-namespace:TouchControls;assembly=TouchControls"
             xmlns:Controls="clr-namespace:TouchExplorer.Controls" xmlns:TouchExplorer="clr-namespace:TouchExplorer"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="56" />
        </Grid.ColumnDefinitions>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>

            <TouchExplorer:PathView x:Name="PathView" Margin="0 0 0 6"/>

            <Grid Grid.Row="1" x:Name="MainGrid">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="3*" />
                </Grid.ColumnDefinitions>

                <TouchExplorer:CurrentDirectories Margin="0 0 8 0" />

                <Controls:FilesDisplaySelector Grid.Column="1" Margin="4 0 0 0"/>
            </Grid>
        </Grid>
        <Controls:FilesToolbar Grid.Column="1" Margin="8 0 0 0" />
    </Grid>
</UserControl>
